package com.smfx.yxt.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.smfx.yxt.daoSqlserver.SubjectInfoMapper;
import com.smfx.yxt.model.SubjectInfo;
import com.smfx.yxt.service.ISubjectInfoService;

@Service("subjectInfoService")
public class SubjectInfoServiceImpl implements ISubjectInfoService {

	@Autowired
	private SubjectInfoMapper subjectInfoMapper;
	
	@Override
	public int insertSelective(SubjectInfo record) {
		return subjectInfoMapper.insertSelective(record);
	}

	@Override
	public SubjectInfo selectByPrimaryKey(Integer id) {
		return subjectInfoMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(SubjectInfo record) {
		return subjectInfoMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public List<SubjectInfo> selectList() {
		return subjectInfoMapper.selectList();
	}

}
